@import './commonM/_crumbs.less';
@import './commonM/_imgText.less';
@import './commonM/_favoriteNav.less';
@import './commonM/_imgTextTb.less';
@import './commonM/_sliderBanner.less';
@import './commonM/_productShow.less';


.home-box{
    margin: 44px auto 0;
    
}
#infscr-loading {
    bottom: -10px;
    left: 50%;
    position: absolute;
    text-align: center;
    height: 20px;
    line-height: 20px;
    z-index: 100;
    width: 60px;
    margin-left: -30px;
    img{
        width: 60px;
        display: inline-block;
    }
  }
.recommend{
    font-size: 16px;
    font-family: Roboto-MediumItalic, Roboto;
    font-weight: normal;
    color: #121212;
    line-height: 16px;
	padding:8px 0 20px;
	border-top:1px solid #121212;
}
.recommend-more{
	display:block;
	margin:10px auto 20px
}
.just-foryou{
    padding-bottom: 50px;
}
.home-box-header{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    .list-banner{
        width: 300px;
        display: none;
    }
    .slider-banner{
        width: 100%;
        height: 158px;
        overflow: hidden;
        .swiper-container{
            .swiper-slide{
                align-items: flex-start;
            }
        }
        .slider-banner-box{
            border-radius: 10px;
            overflow: hidden;
            img{ 
                max-width: 100%;
                max-height: 146px;
            }
            p{
                height: 45px;
                font-size: 11px;
                font-family: Roboto-Regular;
                font-weight: 400;
                color: #FFFFFF;
                line-height: 15px;
                display: flex;
                align-items: center;
                padding: 0 12px;
                width: 100%;
                overflow: hidden;
            }
        }
    }
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction
{
    bottom: 0;
}
.swiper-pagination-bullet{
    width: 4px;
    height: 4px;

}
.swiper-pagination{
    line-height: 4px;
}
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet
{
    margin: 0 2.5px;
}
.swiper-pagination-bullet-active
{
    width: 16px;
    height: 4px;
    background: #177FE9;
    border-radius: 3px;   
}
.title-updated{ margin-top: 30px;}

.recently-updated{
    display: flex;
    justify-content: space-between;
}
.recently-updated-left{
    width: 100%;
}
.recently-updated-left-bottom{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .img-text-tb{
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        .img-text-top{
            width: 115px;
            height: 88px;
            img{
                max-width: 115px;
                max-height: 88px;
                display: block;
            }
        }
        .img-text-bottom{
            width: 200px;
            padding: 0;
            .price{
                margin-top: 6px;
                display: inline-block;
            }
            .tips{
                flex-wrap: wrap;
            }
        }
    }
}
.recently-updated-right{
    display: none;
}
.trending{
    margin: 30px 0;
}

.trending-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.trending-box-left{
    width: 100%;
    display: flex;
    justify-content: space-between;
    .img-text{ 
        width: 154px; 
        display: flex;
        justify-content: space-between;
        padding: 0 0 0 0;
        box-sizing: border-box;
        overflow: hidden;
        flex-wrap: wrap;
        .img-text-left{
            width: 154px;
            height: 118px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 10px;
            img{
                max-width: 154px;
                max-height: 118px;
                display: block;
            }
        }
        .img-text-right{
            width: 100%;
            height: 70px;
            overflow: hidden;
            margin-top: 8px;
            .descrption{
                height: 44px;
                font-size: 15px;
                font-family: Roboto-Medium, Roboto;
                font-weight: 500;
                color: #121212;
                line-height: 22px;
                display: block;
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .tips{
                font-family: Roboto-Regular;
                line-height: 18px;
                a{
                    color: #177FE9;
                    font-size: 13px;
                    font-family: Roboto-Regular;
                    font-weight: 400;
                    line-height: 18px;
                    margin-right: 3px;
                }
                a.price{
                    font-size: 13px;
                    font-family: Roboto-Medium;
                    font-weight: 500;
                    color: #FF4B68;
                    line-height: 18px;
                    display: block;
                    margin-top: 8px;
                }
                span{
                    color: #666666;
                    font-size: 13px;
                    font-family: Roboto-Regular;
                    font-weight: 400;
                    line-height: 18px;
                    display: block;
                    margin-top: 8px;
                    a{
                        font-size: 12px;
                    }
                }
                p{
                    display: block;
                    a{
                        color: #666666;
                        font-size: 13px;
                        font-family: Roboto-Regular;
                        font-weight: 400;
                        line-height: 18px;
                        display: block;
                        margin-top: 8px;
                        em{
                            font-style: normal;
                            font-size: 12px;
                            color: #177FE9;
                        }
                    }
                }
            }
        }
    }
}
.trending-box-right{
    width: 100%;
    .img-text-top{
        width: 100%;
        height: 250px;
        justify-content: center;
        img{
            max-width: 100%;
            max-height: 250px;
            display: inline-block;
        }
    }
    .img-text-bottom{
        .price{
            display: block;
            font-family: Roboto-Medium;
        }
        .tips{
            flex-wrap: wrap;
            line-height: 18px;
            span{
                width: 100%;
                display: block;
            }
            p{
                display: block;
                width: 100%;
                line-height: 18px;
                a{
                    color: #666666;
                    font-size: 13px;
                    font-family: Roboto-Regular;
                    font-weight: 400;
                    line-height: 18px;
                    display: block;
                    em{
                        font-family: Roboto-Medium;
                        font-style: normal;
                        font-size: 12px;
                        color: #177FE9;
                    }
                }
            }
        }
    }
}
.img-text{
    border:none;
}
.img-text:nth-child(5n+1){
    width: 154px;
}
.img-text .img-text-right{
    .introduce{
        display: none;
    }
}
.img-text:nth-child(5n+1) .img-text-right .introduce{ display: none;}
.img-text .img-text-right .tips a{ margin-right:3px;}
.accept-box{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: #fff;
    box-shadow: 0px -1px 4px 0px rgba(229, 229, 229, 0.5);
    .content{
        display: flex;
        justify-content: center;
        padding: 22px 24px 29px;
        align-items: center;
        box-sizing: border-box;
        align-items: center;
        flex-wrap: wrap;
        text-align: center;
        h3{
            height: 21px;
            font-size: 18px;
            font-family: Roboto-Medium;
            font-weight: 500;
            color: #333333;
            line-height: 21px;
            letter-spacing: 1px;
        }
        span{
            font-size: 14px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #333333;
            line-height: 22px;
            margin-top: 10px;
            display: block;
            a{
                color: #333333;
            }
        }
        .accept{
            height: 42px;
            background: #177FE9;
            border-radius: 23px;
            border: 1px solid #177FE9;
            color: #fff;
            font-size: 14px;
            font-family: Roboto-Medium;
            font-weight: 500;
            color: #FFFFFF;
            cursor: pointer;
            text-align: center;
            line-height: 40px;
            width: 100%;
            margin-top: 30px;
            display: inline-block;
        }
    }
}
